package cn.edu.scau.cmi.linyiling.abstractFactory.factory;

import cn.edu.scau.cmi.linyiling.abstractFactory.domain.PingAnBodyInjury;
import cn.edu.scau.cmi.linyiling.abstractFactory.domain.PingAnCarDamage;
import cn.edu.scau.cmi.linyiling.abstractFactory.domain.PingAnCasualties;
import cn.edu.scau.cmi.linyiling.abstractFactory.domain.PingAnOtherAccidents;
import cn.edu.scau.cmi.linyiling.abstractFactory.domainAbstractClass.InsuranceKind;

public class PingAnFactory extends AbstractFactory {
	@Override
	public InsuranceKind create1() {
		return new PingAnBodyInjury();
	}

	@Override
	public InsuranceKind create2() {
		return new PingAnCarDamage();
	}

	@Override
	public InsuranceKind create3() {
		return new PingAnCasualties();
	}
	
	@Override
	public InsuranceKind create4() {
		return new PingAnOtherAccidents();
	}
}
